const format=require('../utils/date')
const LogsModel_DB=require('../models_db/LogsModel_DB')
class parentControllers{
    savelog(model,type,auther){
        let time=new Date()
        LogsModel_DB.create({model,type,auther,date:format(time,'yyyy-MM-dd hh:mm:ss')})
    }
}
module.exports=parentControllers